1
general::
Phrase(s): work something out of something [and] work something out
to manipulate something to get it out of something. • You have to work the bubbles out of the paint before you use it. • You have to stir the batter to work out the lumps.
McGrawhill's American Idioms And Phrasal Verbs